package com.woniuxy.store.client;

import com.woniuxy.store.client.param.takeNumParam.InsertTakeNumParams;
import com.woniuxy.store.client.param.takeNumParam.SearchTakeNumByConditionParams;
import common.WoniuPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.*;
import result.Result;

@FeignClient(contextId = "takeNumClient",name = "store",path = "/store/reservation")
public interface TakeNumClient {
    @PostMapping({"/insertTakeNum"})
    Result insertTakeNum(@RequestBody InsertTakeNumParams var1);

    @PutMapping({"/updateTakeNumState"})
    Result updateTakeNumState(@RequestParam("id") Integer var2, @RequestParam("numState") String var3);

    @GetMapping({"/searchTakeNumByCondition"})
    Result searchTakeNumByCondition(@SpringQueryMap SearchTakeNumByConditionParams var1);
}
